Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String Formatting #13

Merged
merged 1 commit into from
Jul 11, 2024
Merged

String Formatting #13

merged 1 commit into from
Jul 11, 2024

Conversation

tsutomi
Copy link
Member

@tsutomi tsutomi commented Jul 10, 2024

The string representation is now more standard and aligned with the .NET patterns

  • BigDecimal implements IFormattable contract
  • Definition of new formats
    • G - General string format
    • P - Plain string format
    • E - Engineering format (with exponent notations)
  • Removal of the redundant ToString(), ToPlainString(), ToEngineerString() implementations

@tsutomi tsutomi self-assigned this Jul 10, 2024
@tsutomi tsutomi merged commit 3dc1ad8 into master Jul 11, 2024
9 checks passed
@tsutomi tsutomi deleted the tostring-redesign branch July 11, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant